package com.linshengjian.snowball.finance.model;

import com.linshengjian.snowball.core.BaseModel;
import com.linshengjian.snowball.finance.UseType;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.Date;

@Accessors(chain = true)
@Setter
@Getter
public class SavingsRecord extends BaseModel<Long> {
    private String oddNum; // 单号
    private UseType type; // 类型，收入/支出
    private Double amount; // 金额
    private Double balance;// 账户剩余金额
    private Date createTime; // 创建时间
    private String remark; // 备注
}
